home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Freelog 55
/
Freelog055.iso
/
Bas
/
Musique
/
EasyAlbum
/
easyam_setup.exe
/
{app}
/
export_xml.tpt
< prev
next >
Wrap
Text File
|
2003-11-16
|
693b
|
18 lines
@# XML file(*.xml)|*.xml
@set(i,0)\
@set(over, @size(albums))\
<?xml version=\"1.0\" standalone=\"yes\" ?>
<DATABASE source=\"Easy Album Manager\">
@<@foreach album (albums) {\
@<@progress(i,over)\
<ALBUM artist=\"@xmlescape(album.artist)\" album=\"@xmlescape(album.album)\" genre=\"@xmlescape(album.genre)\" year=\"@xmlescape(album.year)\" playlistpath=\"@xmlescape(album.playlistpath)\" coverpath=\"@xmlescape(album.coverpath)\">
@<@set(j,1)\
@<@foreach track(album.tracks) {\
<TRACK number="${j}" title=\"@xmlescape(track.title)\" trackpath=\"@xmlescape(track.trackpath)\"/>
@<@set(j,j+1)\
@<}\
@<@set(i,i+1)\
</ALBUM>
@<}\
</DATABASE>
@progress(over,over)\